package com.kangfu.api.controller;

import com.kangfu.common.annotation.IgnoreAuth;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class ProtocolController {

    @GetMapping("privacyPolicy")
    @IgnoreAuth
    public String privacyPolicy() {
        return "yinsizhengce";
    }


    @GetMapping("agreement")
    @IgnoreAuth
    public String agreement() {
        return "shiyongxieyi";
    }

}
